.applys {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: #fff !important;
  padding: 0 19px;

  .applysearch {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    height: 50px;
    padding-left: 15px;
    width: 100%;

    button {
      margin-top: 10px;
      margin-right: 10px;
      padding: 2px 10px;
      // background-color: aliceblue;
      border: 0;
      background: linear-gradient(
        to bottom,
        #f5fbff 0%,
        rgb(234, 245, 255) 50%,
        #f5fbff
      );
      border: 1px solid #c1ccdd;
      // outline: none;
      color: black;
      font-weight: 500;
      border-radius: 3px;
    }

    button:hover {
      background: linear-gradient(
        to bottom,
        rgba(167, 215, 255, 0.5) 0%,
        #7dbeff 50%,
        rgba(167, 215, 255, 0.5)
      );
      border: 1px solid #c1ccdd;
      cursor: pointer;
    }

    .ant-form-item {
      display: flex;
      margin: 0;
      padding-right: 15px;

      .ant-form-item-control {
        width: 150px;
        font-style: italic;
        font-size: 12px !important;
      }
    }
  }

  .applyTable {
    height: 500px;
    width: 1600px;
    display: flex;
    justify-content: center;
    flex-direction: column;

    > h1 {
      display: flex;
      width: 100%;
      justify-content: center;
      margin: 0 !important;
      padding: 10px 0;
      font-size: 25px;
    }
  }

  .ant-table-body {
    height: 400px !important;
  }

  .ant-table-thead {
    height: 38px !important;

    tr {
      height: 38px !important;

      th {
        text-align: center;
        height: 38px !important;
        padding: 0 !important;
      }
    }
  }

  tbody {
    width: 100% !important;

    .ant-table-row {
      height: 38px !important;

      td {
        height: 38px !important;
        padding: 0 !important;
        text-align: center;
      }
    }

    .ant-table-row:hover {
      color: #000 !important;
    }
  }

  .alpplybottom {
    height: 40px;
    width: 100%;
    border: 2px solid #c0ccdd;
    display: flex;
    align-items: center;

    .ant-input {
      width: 40px;
      text-align: center;
      margin: 0 10px;
    }

    span:nth-child(1) {
      padding: 0px 15px;
    }

    span:nth-child(2) {
      padding-right: 5px;
    }

    span:nth-child(6) {
      padding-left: 5px;
    }

    span:nth-child(7) {
      padding: 0px 15px;
    }

    button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      height: 30px;
      width: 45px;
    }
  }
}

.ant-pro-page-container {
  margin: 0 !important;
  background-color: #fff !important;
}

.react-resizable-handle {
  cursor: col-resize !important;
}

.applyLeave {
  width: 100%;
  height: 100%;
  padding: 0 20px;

  .applyleave {
    button {
      margin-top: 10px;
      margin-right: 10px;
      padding: 2px 10px;
      border: 0;
      background: linear-gradient(
        to bottom,
        #f5fbff 0%,
        rgb(234, 245, 255) 50%,
        #f5fbff
      );
      border: 1px solid #c1ccdd;
      color: black;
      font-weight: 500;
      border-radius: 3px;
    }

    button:hover {
      background: linear-gradient(
        to bottom,
        rgba(167, 215, 255, 0.5) 0%,
        #7dbeff 50%,
        rgba(167, 215, 255, 0.5)
      );
      border: 1px solid #c1ccdd;
      cursor: pointer;
    }
  }
}

.applyLeaveContent {
  margin-top: 10px;
  height: 480px;
  background-color: #fff;

  .table {
    margin: 0 auto;
    width: 1240px;
    tr {
      height: 45px;
      td:nth-child(2n + 1) {
        span {
          color: red;
          font-size: 19px;
          display: inline-block;
          vertical-align: middle;
        }
        width: 120px;
        text-align: right;
        background-color: #f9fcff;
      }

      td:nth-child(2n) {
        text-align: center;
        padding: 0 12px;
        .ant-form-item {
          margin: 0;
          input {
            font-size: 15px;
          }
        }
        .ant-input-affix-wrapper-disabled {
          background-color: #fff;
        }
        .ant-select-selector:hover {
          border: 1px solid #5377b6;
          box-shadow: none !important;
        }
        .ant-form-item-has-success {
          box-shadow: none !important;
          border: 1px solid #5377b6;
          .ant-select-selector {
            border: none;
          }
        }
        .ant-select-selection-item {
          text-align: left;
        }
        .ant-input-affix-wrapper {
          display: flex;
          align-items: center;
          height: 29px;
        }
        .ant-picker {
          width: 100%;
        }
        .ant-picker:hover {
          border: 1px solid #5377b6;
        }
        .ant-picker-focused {
          box-shadow: none;
          border: 1px solid #5377b6;
        }
      }

      td {
        border: 1px solid #c0ccdd;
        > input {
          text-indent: 10px;
          height: 29px;
          width: 100%;
          border: 1px solid #d4d4d4;
        }
        input:hover {
          border-color: #5377b6;
        }
        input:focus {
          outline: none;
          border-color: #5377b6 !important;
        }
      }
    }

    tr:last-child {
      height: 95px;
      td:last-child {
        input {
          line-height: 80px;
          height: 80px;
          width: 100%;
          border: 1px solid #d4d4d4;
        }
        input:hover {
          border-color: #5377b6;
        }
        input:focus {
          outline: none;
          border-color: #5377b6 !important;
        }
      }
    }
  }

  h1 {
    display: flex;
    margin: 0;
    height: 80px;
    justify-content: center;
    align-items: center;
    font-size: 28px;
  }
}
.ant-modal-content {
  width: 300px;
  height: 150px;
  position: fixed;
  top: 45%;
  left: 45%;
  .ant-modal-header {
    height: 20px;
    display: flex;
    align-items: center;
    background-color: #5377b6;
    .ant-modal-title {
      color: #fff;
    }
  }

  .ant-modal-body {
    padding: 0;
    height: 80px;
    border-bottom: 1px solid #ddd;
    button {
      margin-left: 120px;
      margin-top: 5px;
      padding: 2px 10px;
      border: 0;
      background: linear-gradient(
        to bottom,
        #f5fbff 0%,
        rgb(234, 245, 255) 50%,
        #f5fbff
      );
      border: 1px solid #c1ccdd;
      color: black;
      font-weight: 500;
      border-radius: 3px;
    }

    button:hover {
      background: linear-gradient(
        to bottom,
        rgba(167, 215, 255, 0.5) 0%,
        #7dbeff 50%,
        rgba(167, 215, 255, 0.5)
      );
      border: 1px solid #c1ccdd;
      cursor: pointer;
    }
    .content {
      display: flex;
      padding: 15px;
      height: 100%;
      span {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        border-radius: 50%;
        background-color: #5377b6;
        font-size: 40px;
        font-weight: 600;
        color: #fff;
      }
      p {
        height: 100%;
        text-indent: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
  .ant-modal-close {
    height: 35px;
    display: flex;
    align-items: center;
    color: #ccc;
  }
}
// 全局样式
// 分页背景颜色
.applys .alpplybottom .ant-input {
  width: 40px;
  text-align: center;
  margin: 0 10px;
  background: white;
  color: #000;
}

.applys .applyTable {
  width: 100% !important;
}
